package com.xyq.system.service.question;

import com.xyq.system.domain.question.dto.QuestionAddDTO;
import com.xyq.system.domain.question.dto.QuestionEditDTO;
import com.xyq.system.domain.question.dto.QuestionSelectDTO;
import com.xyq.system.domain.question.vo.QuestionDetailVO;
import com.xyq.system.domain.question.vo.QuestionVO;

import java.util.List;

public interface QuestionService {

    List<QuestionVO> list(QuestionSelectDTO questionSelectDTO);

    boolean add(QuestionAddDTO questionAddDTO);

   QuestionDetailVO detail(Long questionId);


    int edit(QuestionEditDTO questionEditDTO);

    int delete(Long questionId);
}
